home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-03-24 | 718 b | 43 lines |
- #
- # Makefile for the logiso utilities
- # (C) Copyright 1995 by Michael Coulter. All rights reserved.
- #
- # Note! Dependencies are done automagically by 'make dep', which also
- # removes any old dependencies. DON'T put your own dependencies here
- # unless it's something special (ie not a .c file).
- #
-
- .c.s:
- $(CC) $(CFLAGS) -S $<
- .c.o:
- $(CC) $(CFLAGS) -c $<
- .s.o:
- $(AS) -o $*.o $<
-
- CFLAGS=
-
- CSRC_FILES = logiso_get.c \
- logiso_stop.c \
- process_lists.c
-
- OBJS= $(CSRC_FILES:.c=.o)
- PROGS = $(CSRC_FILES:.c=)
-
- Default: $(PROGS)
-
- clean: tidy
- -rm -f $(PROGS)
-
- dep:
- $(CPP) -M *.c > .depend
-
- tidy:
- -rm -f $(OBJS)
-
- #
- # include a dependency file if one exists
- #
- ifeq (.depend,$(wildcard .depend))
- include .depend
- endif
-